package core.util;

/**
 * @author Gong.Yang
 */
public class PageUtil {
    static int getPage(int total, int size) {
        return total / size + (total % size == 0 ? 0 : 1);
    }
}
